home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Chess++ ƒ / Chess.cp < prev    next >
Text File  |  1993-05-26  |  511b  |  30 lines

  1. ////////////
  2. //
  3. //    Chess.cp
  4. //
  5. //    This is the main entry point for the Chess++ application.
  6. //
  7. //    Copyright © 1993 Steven J. Bushell. All rights reserved.
  8. //
  9. ////////////
  10.  
  11.  
  12. #include "CChessApp.h"
  13. #include <TCLUtilities.h>
  14.  
  15. void main()
  16.  
  17. {
  18.     CChessApp    *ChessApp;                    
  19.  
  20.     //    There's inherently a lot of recursion when searching for
  21.     //    good moves in a chess application, so we bump up the stack
  22.     SetMinimumStack(64*1024);
  23.  
  24.     ChessApp = new CChessApp;
  25.     
  26.     ChessApp->IChessApp();
  27.     ChessApp->Run();
  28.     ChessApp->Exit();
  29. }
  30.